package nexus.scroll
{
	import flash.display.Sprite;
	
	import nexus.base.NXSprite;
	
	public class BaseScroll extends NXSprite
	{
		
		
		
		
		//-----------------------------------------------------------------------------------
		//
		// private vars
		//
		//-----------------------------------------------------------------------------------
		
		private var _scrollPosition : Number = 0;
		
		
		
		//-----------------------------------------------------------------------------------
		//
		// protected vars
		//
		//-----------------------------------------------------------------------------------
		protected var scrollTrack : Sprite;
		protected var scrollBtn : Sprite;
		
		
		//-----------------------------------------------------------------------------------
		//
		// public vars
		//
		//-----------------------------------------------------------------------------------
		
		
		
		//-----------------------------------------------------------------------------------
		//
		// constructor
		//
		//-----------------------------------------------------------------------------------
		public function BaseScroll()
		{
			super();
			
		}
		
		
		
		
		//-----------------------------------------------------------------------------------
		//
		// public function
		//
		//-----------------------------------------------------------------------------------
		
		/**
		 * 0 ~ 1 
		 */
		public function get scrollPosition():Number
		{
			return _scrollPosition;
		}

		/**
		 * @private 0 ~ 1
		 */
		public function set scrollPosition(value:Number):void
		{
			_scrollPosition = value;
		}

		override public function updateDisplayList():void
		{
			super.updateDisplayList();
			
		}
		
		
		
		
		//-----------------------------------------------------------------------------------
		//
		// protected function
		//
		//-----------------------------------------------------------------------------------
		
		
		
		
		//-----------------------------------------------------------------------------------
		//
		// private function
		//
		//-----------------------------------------------------------------------------------
		
		
		
		//-----------------------------------------------------------------------------------
		//
		// event handler
		//
		//-----------------------------------------------------------------------------------
		
		
		
		//-----------------------------------------------------------------------------------
		//
		// destory
		//
		//-----------------------------------------------------------------------------------
		override public function destory():void
		{
			super.destory();
		}
	}
	
}